package com.example.mebatis.batis;

import org.apache.ibatis.builder.xml.XMLMapperBuilder;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;
import java.io.IOException;
import java.io.InputStream;
import java.util.concurrent.ThreadPoolExecutor;

public class TestBatis {
    @Resource
    public static void main(String[] args) {
        new SqlSessionFactoryBuilder().build(new InputStream() {
            @Override
            public int read() throws IOException {
                return 0;
            }
        });
    }
}
